package com.kehutong.admin.dao;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.coraframework.orm.annotation.Dao;
import org.coraframework.orm.annotation.Mapper;

@Dao
public interface DictDao {

	@Mapper(
		mainDB=true,
		genericType = HashMap.class,
		sql="select distinct(type) as type from sys_dict where deleted = false order by type;"
	)
	public List<Map<String, Object>> listTypes();
}
